import { axios } from '@/utils/request'

/**
 * api接口列表
 */
const api = {
  info: '/appointmentSetting/info',
  update: '/appointment_setting/update',
}

export function info (params) {
  return axios({
    url: api.info,
    method: 'get',
    params
  })
}

export function update (data) {
  return axios({
    url: api.update,
    method: 'post',
    data
  })
}